import 'package:json_annotation/json_annotation.dart';

part 'cmndInfo.g.dart';

@JsonSerializable()

class CmndInfo {
  CmndInfo(
    this.birthPlaceCity,
    this.birthPlaceProvince,
    this.cmndIdNumber,
    this.cmndName,
    this.permanentAddress,
    this.permanentCity,
    this.permanentCommune,
    this.permanentProvince,
    this.validationInfo,
  );

  String birthPlaceCity;
  String birthPlaceProvince;
  String cmndIdNumber;
  String cmndName;
  String permanentAddress;
  String permanentCity;
  String permanentCommune;
  String permanentProvince;
  String validationInfo;

  factory CmndInfo.fromJson(Map<String, dynamic> json) => _$CmndInfoFromJson(json);
  Map<String, dynamic> toJson() => _$CmndInfoToJson(this);
  // 命名构造函数
  CmndInfo.empty();
}
